Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: XPages - Run CS javascript on page render
Feedback Type: Question
Product Area: Other
Technical Area: Functionality
Platform: Windows XP client
Release: 8.5
Reproducible: Not applicable

Sorry another one from me.

When you have a button where you attach some CS script, the server runs any SS script contained in the CS code before the new CS code is sent to the page source for the browser:

For example:
The CS code on the button in designer is
var target = '#{javascript:getClientId("field 1")}';
And once sent to the browser, the CS code has then become
var target = 'view:_id1:_id6:field1';

This is so when the CS code runs on the users browser everything will continue to work with the id changes that occur when the user connects.

This is fine, but is there anyway you can have some CS code (which also contains SS code just like the above example) that will run on pageload (or post render) and behave in the same fashion where the SS code is run first before being sent to the page source in the browser?

Thanks again for any ideas.


Feedback number WEBB7WLJKU created by ~August Retumizenettu on 10/07/2009

Status: Closed
Comments: See my other post

XPages - Run CS javascript on page ... (~August Retumiz... 7.Oct.09)
. . Found the answer! (~August Retumiz... 14.Oct.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS